<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="util" uri="/WEB-INF/kdd-util.tld" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<sec:authorize access="isAuthenticated()">
    <html>
        <jsp:include page="head.jsp" />
        <body>
            <div class="container">
                <ul class="nav nav-tabs ">
                    <li <c:if test="${util:isActiveMenu('home', pageContext.request.requestURI)}">class="active"</c:if>><a href="<c:url value='/home'/>"><spring:message code="msg.home" /></a></li>
                    <li <c:if test="${util:isActiveMenu('upload', pageContext.request.requestURI)}">class="active"</c:if>><a href="<c:url value='/upload'/>"><spring:message code="msg.upload" /></a></li>
                    <li <c:if test="${util:isActiveMenu('create', pageContext.request.requestURI)}">class="active"</c:if>><a href="<c:url value='/create'/>"><spring:message code="msg.create" /></a></li>
                    <li <c:if test="${util:isActiveMenu('manage', pageContext.request.requestURI)}">class="active"</c:if>><a href="<c:url value='/manage'/>"><spring:message code="msg.manage" /></a></li>
                    <li <c:if test="${util:isActiveMenu('help', pageContext.request.requestURI)}">class="active"</c:if>><a href="<c:url value='/help'/>"><spring:message code="msg.help" /></a></li>
                    <li><a href="<c:url value='/logout'/>"><spring:message code="msg.logout" /></a></li>
                </ul>
                <jsp:include page="auth.jsp" />
            </sec:authorize>